#include <51func.h>
void func(){
    //return;
    pthread_exit((void *)1234);
}
void * threadFunc(void *arg){
    //return NULL; // (void *)0
    func();
    printf("Can you see me?\n");
}
int main(int argc, char *argv[])
{
    pthread_t tid;
    pthread_create(&tid,NULL,threadFunc,NULL);
    void *p;
    pthread_join(tid,&p);
    printf("p = %ld\n", (long) p);
    return 0;
}

